<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>Layui</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="/static/lib/layui/css/layui.css">
    <link rel="stylesheet" href="/static/lib/viewer/viewer.css">
    <!-- 注意：如果你直接复制所有代码到本地，上述css路径需要改成你本地的 -->
</head>
<body>
<div style="width: 100%;height: 90%">
    <table class="layui-hide" id="users" lay-filter="user"></table>
</div>
</body>
</html>

<script type="text/html" id="barDemo">
    <a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="edit">修改</a>
</script>

<form class="layui-form" id="edit-window" lay-filter="edit-window" style="display: none;">
    <div class="layui-form-item" style="margin-top: 20px">
        <div class="layui-inline" style="width: 90%">
            <label class="layui-form-label">用户类型:</label>
            <div class="layui-input-block">
                <select id="status" name="status">
                    <option value="0">群众</option>
                    <option value="1">巡查员</option>
                    <option value="2">拉黑</option>
                </select>
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-inline" style="width:90%;">
            <label class="layui-form-label">备注:</label>
            <div class="layui-input-block">
                <textarea id="remarks" name="remarks" class="layui-textarea"></textarea>
            </div>
        </div>
    </div>
    <div class="layui-form-item" id="tijiao">
        <div class="layui-input-block" style="text-align:center;">
            <button class="layui-btn" lay-submit lay-filter="edit-form">确认</button>
        </div>
    </div>
</form>


<script type="text/javascript" src="/static/lib/jQuery/jquery.min.js"></script>
<script type="text/javascript" src="/static/lib/layui/layui.js"></script>
<script type="text/javascript" src="/static/lib/viewer/viewer.js"></script>
<script type="text/javascript" src="/static/js/admin/account.js"></script>
<!-- 注意：如果你直接复制所有代码到本地，上述js路径需要改成你本地的 -->
<script>
    layui.use('laydate', function () {
        var laydate = layui.laydate;
        //执行一个laydate实例
        laydate.render({
            elem: '#createTime' //指定元素
        });
    });
</script>
